package academic.concordia.bankofquebec.job;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

import academic.concordia.bankofquebec.bean.investmentaccount.IInvestmentAccountServices;


public class InterestPaymentJob{
	
	IInvestmentAccountServices investmentBean;
	
	public void payInterests(){
		DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
		System.out.println("Invoked on " + dateFormat.format(System.currentTimeMillis()));
//		investmentBean.payAllInterests();
	}

	public IInvestmentAccountServices getInvestmentBean() {
		return investmentBean;
	}

	public void setInvestmentBean(IInvestmentAccountServices investmentBean) {
		this.investmentBean = investmentBean;
	}
	
	
	
}
